import { Vec3 } from "cc";

let EM={
    sunValChange:"sunValChange",
    gameStart:"gameStart",
}

let left= new Vec3(-1,0,0);
let right =new Vec3(1,0,0);
let top=new Vec3(0,1,0);
let bottom =new Vec3(0,-1,0);
let DIR={
    left:left,
    right:right,
    top:top,
    bottom:bottom
}

enum CampType {
    palyer=0,//0是玩家阵营
    enemy=1,
    neutral=2,//中立的场景
}

class Animal{
    _name:string;
    _age:number;
    _isBoy:boolean;
    _arr:Array<number>;

    printMsg(){
        console.log(this._name+":"+this._age+":"+this._isBoy);
        console.log(this._arr[0]);
    }
}

export {
    DIR,
    EM,
    Animal
}